﻿﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Xml.Serialization;
using Fcdbas.Core;
using Fcdbas.Core.Configuration;
using Fcdbas.Core.DataAccess;


namespace Fcdbas.Biz
{
    /// <summary></summary>
    [Serializable]
    [DataObject]
    [Description("")]
    [BindTable("fnd_column_defined", Description = "", ConnName = "", DbType = DatabaseType.MySql)]
    public partial class fnd_column_defined : Ifnd_column_defined
    {
        #region 属性
 
        private String _view_name;

        /// <summary>FLAGS=KMI-L^DATATYPE=STRING(40)/UPPERCASE^PROMPT=View Name^</summary>
        [DisplayName("FLAGS=KMI-L^DATATYPE=STRING40_UPPERCASE^PROMPT=ViewName^")]
        [Description("FLAGS=KMI-L^DATATYPE=STRING(40)/UPPERCASE^PROMPT=View Name^")]
        [DataObjectField(false, false, false, 40)]
        [BindColumn(1, "view_name", "FLAGS=KMI-L^DATATYPE=STRING(40)/UPPERCASE^PROMPT=View Name^", null, "varchar(40)", 0, 0, false)]

        public virtual String view_name

        {
            get { return _view_name; }
            set { if (OnPropertyChanging(__.view_name, value)) { _view_name = value; OnPropertyChanged(__.view_name); } }
        }

 
        private Int32? _column_index;

        /// <summary>FLAGS=KMI--^DATATYPE=NUMBER^PROMPT=Column Index^</summary>
        [DisplayName("FLAGS=KMI--^DATATYPE=NUMBER^PROMPT=ColumnIndex^")]
        [Description("FLAGS=KMI--^DATATYPE=NUMBER^PROMPT=Column Index^")]
        [DataObjectField(false, false, false, 10)]
        [BindColumn(2, "column_index", "FLAGS=KMI--^DATATYPE=NUMBER^PROMPT=Column Index^", null, "int(11)", 10, 0, false)]

        public virtual Int32? column_index

        {
            get { return _column_index; }
            set { if (OnPropertyChanging(__.column_index, value)) { _column_index = value; OnPropertyChanged(__.column_index); } }
        }

 
        private String _column_name;

        /// <summary>FLAGS=AMI-L^DATATYPE=STRING(40)/UPPERCASE^PROMPT=Column Name^</summary>
        [DisplayName("FLAGS=AMI-L^DATATYPE=STRING40_UPPERCASE^PROMPT=ColumnName^")]
        [Description("FLAGS=AMI-L^DATATYPE=STRING(40)/UPPERCASE^PROMPT=Column Name^")]
        [DataObjectField(false, false, false, 40)]
        [BindColumn(3, "column_name", "FLAGS=AMI-L^DATATYPE=STRING(40)/UPPERCASE^PROMPT=Column Name^", null, "varchar(40)", 0, 0, false)]

        public virtual String column_name

        {
            get { return _column_name; }
            set { if (OnPropertyChanging(__.column_name, value)) { _column_name = value; OnPropertyChanged(__.column_name); } }
        }

 
        private String _data_type;

        /// <summary>FLAGS=AMIU-^DATATYPE=STRING(20)^PROMPT=Data Type^</summary>
        [DisplayName("FLAGS=AMIU-^DATATYPE=STRING20^PROMPT=DataType^")]
        [Description("FLAGS=AMIU-^DATATYPE=STRING(20)^PROMPT=Data Type^")]
        [DataObjectField(false, false, false, 20)]
        [BindColumn(4, "data_type", "FLAGS=AMIU-^DATATYPE=STRING(20)^PROMPT=Data Type^", null, "varchar(20)", 0, 0, false)]

        public virtual String data_type

        {
            get { return _data_type; }
            set { if (OnPropertyChanging(__.data_type, value)) { _data_type = value; OnPropertyChanged(__.data_type); } }
        }

 
        private Int32? _data_length;

        /// <summary>FLAGS=A-IU-^DATATYPE=NUMBER^PROMPT=Data Length^</summary>
        [DisplayName("FLAGS=A-IU-^DATATYPE=NUMBER^PROMPT=DataLength^")]
        [Description("FLAGS=A-IU-^DATATYPE=NUMBER^PROMPT=Data Length^")]
        [DataObjectField(false, false, true, 10)]
        [BindColumn(5, "data_length", "FLAGS=A-IU-^DATATYPE=NUMBER^PROMPT=Data Length^", null, "int(11)", 10, 0, false)]

        public virtual Int32? data_length

        {
            get { return _data_length; }
            set { if (OnPropertyChanging(__.data_length, value)) { _data_length = value; OnPropertyChanged(__.data_length); } }
        }

 
        private String _data_format;

        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(50)^PROMPT=Data Format^</summary>
        [DisplayName("FLAGS=A-IU-^DATATYPE=STRING50^PROMPT=DataFormat^")]
        [Description("FLAGS=A-IU-^DATATYPE=STRING(50)^PROMPT=Data Format^")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn(6, "data_format", "FLAGS=A-IU-^DATATYPE=STRING(50)^PROMPT=Data Format^", null, "varchar(50)", 0, 0, false)]

        public virtual String data_format

        {
            get { return _data_format; }
            set { if (OnPropertyChanging(__.data_format, value)) { _data_format = value; OnPropertyChanged(__.data_format); } }
        }

 
        private String _prompt_text;

        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(200)^PROMPT=Prompt Text^</summary>
        [DisplayName("FLAGS=A-IU-^DATATYPE=STRING200^PROMPT=PromptText^")]
        [Description("FLAGS=A-IU-^DATATYPE=STRING(200)^PROMPT=Prompt Text^")]
        [DataObjectField(false, false, true, 200)]
        [BindColumn(7, "prompt_text", "FLAGS=A-IU-^DATATYPE=STRING(200)^PROMPT=Prompt Text^", null, "varchar(200)", 0, 0, false)]

        public virtual String prompt_text

        {
            get { return _prompt_text; }
            set { if (OnPropertyChanging(__.prompt_text, value)) { _prompt_text = value; OnPropertyChanged(__.prompt_text); } }
        }

 
        private String _status_text;

        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(200)^PROMPT=Status Text^</summary>
        [DisplayName("FLAGS=A-IU-^DATATYPE=STRING200^PROMPT=StatusText^")]
        [Description("FLAGS=A-IU-^DATATYPE=STRING(200)^PROMPT=Status Text^")]
        [DataObjectField(false, false, true, 200)]
        [BindColumn(8, "status_text", "FLAGS=A-IU-^DATATYPE=STRING(200)^PROMPT=Status Text^", null, "varchar(200)", 0, 0, false)]

        public virtual String status_text

        {
            get { return _status_text; }
            set { if (OnPropertyChanging(__.status_text, value)) { _status_text = value; OnPropertyChanged(__.status_text); } }
        }

 
        private String _display_text;

        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(200)^PROMPT=Display Text^</summary>
        [DisplayName("FLAGS=A-IU-^DATATYPE=STRING200^PROMPT=DisplayText^")]
        [Description("FLAGS=A-IU-^DATATYPE=STRING(200)^PROMPT=Display Text^")]
        [DataObjectField(false, false, true, 200)]
        [BindColumn(9, "display_text", "FLAGS=A-IU-^DATATYPE=STRING(200)^PROMPT=Display Text^", null, "varchar(200)", 0, 0, false)]

        public virtual String display_text

        {
            get { return _display_text; }
            set { if (OnPropertyChanging(__.display_text, value)) { _display_text = value; OnPropertyChanged(__.display_text); } }
        }

 
        private String _type_flag;

        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(50)/UPPERCASE^PROMPT=Type Flag^</summary>
        [DisplayName("FLAGS=A-IU-^DATATYPE=STRING50_UPPERCASE^PROMPT=TypeFlag^")]
        [Description("FLAGS=A-IU-^DATATYPE=STRING(50)/UPPERCASE^PROMPT=Type Flag^")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn(10, "type_flag", "FLAGS=A-IU-^DATATYPE=STRING(50)/UPPERCASE^PROMPT=Type Flag^", null, "varchar(50)", 0, 0, false)]

        public virtual String type_flag

        {
            get { return _type_flag; }
            set { if (OnPropertyChanging(__.type_flag, value)) { _type_flag = value; OnPropertyChanged(__.type_flag); } }
        }

 
        private String _required_flag;

        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Required Flag^</summary>
        [DisplayName("FLAGS=A-IU-^DATATYPE=STRING5_UPPERCASE^PROMPT=RequiredFlag^")]
        [Description("FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Required Flag^")]
        [DataObjectField(false, false, true, 5)]
        [BindColumn(11, "required_flag", "FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Required Flag^", null, "varchar(5)", 0, 0, false)]

        public virtual String required_flag

        {
            get { return _required_flag; }
            set { if (OnPropertyChanging(__.required_flag, value)) { _required_flag = value; OnPropertyChanged(__.required_flag); } }
        }

 
        private String _insert_flag;

        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Insert Flag^</summary>
        [DisplayName("FLAGS=A-IU-^DATATYPE=STRING5_UPPERCASE^PROMPT=InsertFlag^")]
        [Description("FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Insert Flag^")]
        [DataObjectField(false, false, true, 5)]
        [BindColumn(12, "insert_flag", "FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Insert Flag^", null, "varchar(5)", 0, 0, false)]

        public virtual String insert_flag

        {
            get { return _insert_flag; }
            set { if (OnPropertyChanging(__.insert_flag, value)) { _insert_flag = value; OnPropertyChanged(__.insert_flag); } }
        }

 
        private String _update_flag;

        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Update Flag^</summary>
        [DisplayName("FLAGS=A-IU-^DATATYPE=STRING5_UPPERCASE^PROMPT=UpdateFlag^")]
        [Description("FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Update Flag^")]
        [DataObjectField(false, false, true, 5)]
        [BindColumn(13, "update_flag", "FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Update Flag^", null, "varchar(5)", 0, 0, false)]

        public virtual String update_flag

        {
            get { return _update_flag; }
            set { if (OnPropertyChanging(__.update_flag, value)) { _update_flag = value; OnPropertyChanged(__.update_flag); } }
        }

 
        private String _lov_flag;

        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Lov Flag^</summary>
        [DisplayName("FLAGS=A-IU-^DATATYPE=STRING5_UPPERCASE^PROMPT=LovFlag^")]
        [Description("FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Lov Flag^")]
        [DataObjectField(false, false, true, 5)]
        [BindColumn(14, "lov_flag", "FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Lov Flag^", null, "varchar(5)", 0, 0, false)]

        public virtual String lov_flag

        {
            get { return _lov_flag; }
            set { if (OnPropertyChanging(__.lov_flag, value)) { _lov_flag = value; OnPropertyChanged(__.lov_flag); } }
        }

 
        private String _col_reference;

        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(50)^PROMPT=Col Reference^</summary>
        [DisplayName("FLAGS=A-IU-^DATATYPE=STRING50^PROMPT=ColReference^")]
        [Description("FLAGS=A-IU-^DATATYPE=STRING(50)^PROMPT=Col Reference^")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn(15, "col_reference", "FLAGS=A-IU-^DATATYPE=STRING(50)^PROMPT=Col Reference^", null, "varchar(50)", 0, 0, false)]

        public virtual String col_reference

        {
            get { return _col_reference; }
            set { if (OnPropertyChanging(__.col_reference, value)) { _col_reference = value; OnPropertyChanged(__.col_reference); } }
        }

 
        private String _reference_view;

        /// <summary></summary>
        [DisplayName("View")]
        [Description("")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn(16, "reference_view", "", null, "varchar(50)", 0, 0, false)]

        public virtual String reference_view

        {
            get { return _reference_view; }
            set { if (OnPropertyChanging(__.reference_view, value)) { _reference_view = value; OnPropertyChanged(__.reference_view); } }
        }

 
        private String _zoom_reference;

        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(50)^PROMPT=Zoom Reference^</summary>
        [DisplayName("FLAGS=A-IU-^DATATYPE=STRING50^PROMPT=ZoomReference^")]
        [Description("FLAGS=A-IU-^DATATYPE=STRING(50)^PROMPT=Zoom Reference^")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn(17, "zoom_reference", "FLAGS=A-IU-^DATATYPE=STRING(50)^PROMPT=Zoom Reference^", null, "varchar(50)", 0, 0, false)]

        public virtual String zoom_reference

        {
            get { return _zoom_reference; }
            set { if (OnPropertyChanging(__.zoom_reference, value)) { _zoom_reference = value; OnPropertyChanged(__.zoom_reference); } }
        }

 
        private String _enumeration;

        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(100)^PROMPT=Enumeration^</summary>
        [DisplayName("FLAGS=A-IU-^DATATYPE=STRING100^PROMPT=Enumeration^")]
        [Description("FLAGS=A-IU-^DATATYPE=STRING(100)^PROMPT=Enumeration^")]
        [DataObjectField(false, false, true, 100)]
        [BindColumn(18, "enumeration", "FLAGS=A-IU-^DATATYPE=STRING(100)^PROMPT=Enumeration^", null, "varchar(100)", 0, 0, false)]

        public virtual String enumeration

        {
            get { return _enumeration; }
            set { if (OnPropertyChanging(__.enumeration, value)) { _enumeration = value; OnPropertyChanged(__.enumeration); } }
        }

 
        private String _objid;

        /// <summary></summary>
        [DisplayName("Objid")]
        [Description("")]
        [DataObjectField(false, false, false, 50)]
        [BindColumn(19, "objid", "", null, "varchar(50)", 0, 0, false)]

        public virtual String objid

        {
            get { return _objid; }
            set { if (OnPropertyChanging(__.objid, value)) { _objid = value; OnPropertyChanged(__.objid); } }
        }

 
        private String _objversion;

        /// <summary></summary>
        [DisplayName("Objversion")]
        [Description("")]
        [DataObjectField(false, false, true, 24)]
        [BindColumn(20, "objversion", "", null, "varchar(24)", 0, 0, false)]

        public virtual String objversion

        {
            get { return _objversion; }
            set { if (OnPropertyChanging(__.objversion, value)) { _objversion = value; OnPropertyChanged(__.objversion); } }
        }
        #endregion

        #region 获取/设置 字段值
        /// <summary>
        /// 获取/设置 字段值。
        /// 一个索引，基类使用反射实现。
        /// 派生实体类可重写该索引，以避免反射带来的性能损耗
        /// </summary>
        /// <param name="name">字段名</param>
        /// <returns></returns>
        public override Object this[String name]
        {
            get
            {
                switch (name)
                {
                    case __.view_name : return _view_name;
                    case __.column_index : return _column_index;
                    case __.column_name : return _column_name;
                    case __.data_type : return _data_type;
                    case __.data_length : return _data_length;
                    case __.data_format : return _data_format;
                    case __.prompt_text : return _prompt_text;
                    case __.status_text : return _status_text;
                    case __.display_text : return _display_text;
                    case __.type_flag : return _type_flag;
                    case __.required_flag : return _required_flag;
                    case __.insert_flag : return _insert_flag;
                    case __.update_flag : return _update_flag;
                    case __.lov_flag : return _lov_flag;
                    case __.col_reference : return _col_reference;
                    case __.reference_view : return _reference_view;
                    case __.zoom_reference : return _zoom_reference;
                    case __.enumeration : return _enumeration;
                    case __.objid : return _objid;
                    case __.objversion : return _objversion;
                    default: return base[name];
                }
            }
            set
            {
                switch (name)
                {
                    case __.view_name : _view_name = Convert.ToString(value); break;
                    case __.column_index : _column_index = Convert.ToInt32(value); break;
                    case __.column_name : _column_name = Convert.ToString(value); break;
                    case __.data_type : _data_type = Convert.ToString(value); break;
                    case __.data_length : _data_length = Convert.ToInt32(value); break;
                    case __.data_format : _data_format = Convert.ToString(value); break;
                    case __.prompt_text : _prompt_text = Convert.ToString(value); break;
                    case __.status_text : _status_text = Convert.ToString(value); break;
                    case __.display_text : _display_text = Convert.ToString(value); break;
                    case __.type_flag : _type_flag = Convert.ToString(value); break;
                    case __.required_flag : _required_flag = Convert.ToString(value); break;
                    case __.insert_flag : _insert_flag = Convert.ToString(value); break;
                    case __.update_flag : _update_flag = Convert.ToString(value); break;
                    case __.lov_flag : _lov_flag = Convert.ToString(value); break;
                    case __.col_reference : _col_reference = Convert.ToString(value); break;
                    case __.reference_view : _reference_view = Convert.ToString(value); break;
                    case __.zoom_reference : _zoom_reference = Convert.ToString(value); break;
                    case __.enumeration : _enumeration = Convert.ToString(value); break;
                    case __.objid : _objid = Convert.ToString(value); break;
                    case __.objversion : _objversion = Convert.ToString(value); break;
                    default: base[name] = value; break;
                }
            }
        }
        #endregion

        #region 字段名
        /// <summary>取得字段信息的快捷方式</summary>
        public class _
        {
            ///<summary>FLAGS=KMI-L^DATATYPE=STRING(40)/UPPERCASE^PROMPT=View Name^</summary>
            public static readonly Field view_name = FindByName(__.view_name);

            ///<summary>FLAGS=KMI--^DATATYPE=NUMBER^PROMPT=Column Index^</summary>
            public static readonly Field column_index = FindByName(__.column_index);

            ///<summary>FLAGS=AMI-L^DATATYPE=STRING(40)/UPPERCASE^PROMPT=Column Name^</summary>
            public static readonly Field column_name = FindByName(__.column_name);

            ///<summary>FLAGS=AMIU-^DATATYPE=STRING(20)^PROMPT=Data Type^</summary>
            public static readonly Field data_type = FindByName(__.data_type);

            ///<summary>FLAGS=A-IU-^DATATYPE=NUMBER^PROMPT=Data Length^</summary>
            public static readonly Field data_length = FindByName(__.data_length);

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(50)^PROMPT=Data Format^</summary>
            public static readonly Field data_format = FindByName(__.data_format);

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(200)^PROMPT=Prompt Text^</summary>
            public static readonly Field prompt_text = FindByName(__.prompt_text);

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(200)^PROMPT=Status Text^</summary>
            public static readonly Field status_text = FindByName(__.status_text);

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(200)^PROMPT=Display Text^</summary>
            public static readonly Field display_text = FindByName(__.display_text);

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(50)/UPPERCASE^PROMPT=Type Flag^</summary>
            public static readonly Field type_flag = FindByName(__.type_flag);

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Required Flag^</summary>
            public static readonly Field required_flag = FindByName(__.required_flag);

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Insert Flag^</summary>
            public static readonly Field insert_flag = FindByName(__.insert_flag);

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Update Flag^</summary>
            public static readonly Field update_flag = FindByName(__.update_flag);

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Lov Flag^</summary>
            public static readonly Field lov_flag = FindByName(__.lov_flag);

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(50)^PROMPT=Col Reference^</summary>
            public static readonly Field col_reference = FindByName(__.col_reference);

            ///<summary></summary>
            public static readonly Field reference_view = FindByName(__.reference_view);

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(50)^PROMPT=Zoom Reference^</summary>
            public static readonly Field zoom_reference = FindByName(__.zoom_reference);

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(100)^PROMPT=Enumeration^</summary>
            public static readonly Field enumeration = FindByName(__.enumeration);

            ///<summary></summary>
            public static readonly Field objid = FindByName(__.objid);

            ///<summary></summary>
            public static readonly Field objversion = FindByName(__.objversion);

            static Field FindByName(String name) { return Meta.Table.FindByName(name); }
        }

        /// <summary>取得字段名称的快捷方式</summary>
        class __
        {
            ///<summary>FLAGS=KMI-L^DATATYPE=STRING(40)/UPPERCASE^PROMPT=View Name^</summary>
            public const String view_name = "view_name";

            ///<summary>FLAGS=KMI--^DATATYPE=NUMBER^PROMPT=Column Index^</summary>
            public const String column_index = "column_index";

            ///<summary>FLAGS=AMI-L^DATATYPE=STRING(40)/UPPERCASE^PROMPT=Column Name^</summary>
            public const String column_name = "column_name";

            ///<summary>FLAGS=AMIU-^DATATYPE=STRING(20)^PROMPT=Data Type^</summary>
            public const String data_type = "data_type";

            ///<summary>FLAGS=A-IU-^DATATYPE=NUMBER^PROMPT=Data Length^</summary>
            public const String data_length = "data_length";

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(50)^PROMPT=Data Format^</summary>
            public const String data_format = "data_format";

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(200)^PROMPT=Prompt Text^</summary>
            public const String prompt_text = "prompt_text";

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(200)^PROMPT=Status Text^</summary>
            public const String status_text = "status_text";

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(200)^PROMPT=Display Text^</summary>
            public const String display_text = "display_text";

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(50)/UPPERCASE^PROMPT=Type Flag^</summary>
            public const String type_flag = "type_flag";

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Required Flag^</summary>
            public const String required_flag = "required_flag";

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Insert Flag^</summary>
            public const String insert_flag = "insert_flag";

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Update Flag^</summary>
            public const String update_flag = "update_flag";

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Lov Flag^</summary>
            public const String lov_flag = "lov_flag";

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(50)^PROMPT=Col Reference^</summary>
            public const String col_reference = "col_reference";

            ///<summary></summary>
            public const String reference_view = "reference_view";

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(50)^PROMPT=Zoom Reference^</summary>
            public const String zoom_reference = "zoom_reference";

            ///<summary>FLAGS=A-IU-^DATATYPE=STRING(100)^PROMPT=Enumeration^</summary>
            public const String enumeration = "enumeration";

            ///<summary></summary>
            public const String objid = "objid";

            ///<summary></summary>
            public const String objversion = "objversion";

        }
        #endregion
    }

    /// <summary>接口</summary>
    public partial interface Ifnd_column_defined
    {
       #region 属性
        /// <summary>FLAGS=KMI-L^DATATYPE=STRING(40)/UPPERCASE^PROMPT=View Name^</summary>

        String view_name { get; set; }


        /// <summary>FLAGS=KMI--^DATATYPE=NUMBER^PROMPT=Column Index^</summary>

        Int32? column_index { get; set; }


        /// <summary>FLAGS=AMI-L^DATATYPE=STRING(40)/UPPERCASE^PROMPT=Column Name^</summary>

        String column_name { get; set; }


        /// <summary>FLAGS=AMIU-^DATATYPE=STRING(20)^PROMPT=Data Type^</summary>

        String data_type { get; set; }


        /// <summary>FLAGS=A-IU-^DATATYPE=NUMBER^PROMPT=Data Length^</summary>

        Int32? data_length { get; set; }


        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(50)^PROMPT=Data Format^</summary>

        String data_format { get; set; }


        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(200)^PROMPT=Prompt Text^</summary>

        String prompt_text { get; set; }


        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(200)^PROMPT=Status Text^</summary>

        String status_text { get; set; }


        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(200)^PROMPT=Display Text^</summary>

        String display_text { get; set; }


        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(50)/UPPERCASE^PROMPT=Type Flag^</summary>

        String type_flag { get; set; }


        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Required Flag^</summary>

        String required_flag { get; set; }


        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Insert Flag^</summary>

        String insert_flag { get; set; }


        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Update Flag^</summary>

        String update_flag { get; set; }


        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(5)/UPPERCASE^PROMPT=Lov Flag^</summary>

        String lov_flag { get; set; }


        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(50)^PROMPT=Col Reference^</summary>

        String col_reference { get; set; }


        /// <summary></summary>

        String reference_view { get; set; }


        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(50)^PROMPT=Zoom Reference^</summary>

        String zoom_reference { get; set; }


        /// <summary>FLAGS=A-IU-^DATATYPE=STRING(100)^PROMPT=Enumeration^</summary>

        String enumeration { get; set; }


        /// <summary></summary>

        String objid { get; set; }


        /// <summary></summary>

        String objversion { get; set; }

        #endregion

        #region 获取/设置 字段值
        /// <summary>获取/设置 字段值。</summary>
        /// <param name="name">字段名</param>
        /// <returns></returns>
        Object this[String name] { get; set; }
        #endregion
    }
}